home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Premiere / CD-ROM Premiere CD-ROM Sampler (Time Warner Interactive Group) (1993).iso / demo / data / demoend.mmm / meta.txt < prev   
Encoding:
Text File  |  1993-07-21  |  4.3 KB  |  39 lines

  1. Name
  2. ----
  3. DEMOENDHellCab;:HCDEMO:DEMO:DATA:
  4.  
  5. Strings
  6. ------
  7. Stambul Sounds
  8. Macromedia Director
  9.  
  10. stxt
  11. ----
  12. TM
  13. --macro sharestartput 0 into pacoRefNumif the machineType <>256 then openXlib string(GoUpALevel(the pathName)&"XCMDS")macro locSprite n  put (the left of sprite n) into Where  put ", "&(the top of sprite n) after Where  return Whereend locSpritemacro GetPath whatKind  set theFile = fileIO(mNew, "?read", string(whatKind))  if not objectp(theFile) then     if theFile = -43 then           return ""      exit    else      alert "Sorry, movie couldn't be opened."&return&return &"Error: "&string(theFile)      return ""      exit    end if  end if  return theFile(mFileName)  theFile(mDispose)end GetPathmacro GoUpALevel Path  delete char (the number of chars in Path) of Path  put (the number of chars in Path) into x  repeat while x > 0                        if charToNum(char x of Path) = 58 then exit repeat       delete char x of Path    put x - 1 into x  end repeat  return Pathend goupalevelmacro GoOtherMovie folderName, moviesName  return string(GoUpALevel(the pathName))&string(folderName)&":"&string(moviesName)end goothermoviemacro StartPACO fileName, whereAt, preload, centerglobal pacoRefNum,commandupdatestage   when mousedown then nothingput word 1 of fileName&word 2 of fileName&word 3 of fileName&word 4 of fileName&word 5 of fileName into fileNameput (chars(fileName,1,3)&chars(fileName,length(fileName)-3,length(fileName)))&".cv" into filenameif the machineType=256 then startpaco2 (fileName, whereAt, preload)if the machineType=256 then exit  put XPlayPACo("openfile",string(GoUpALevel(the pathName))&"PACOS:"&string(fileName)) into pacoRefNum  if pacoRefNum contains "error" then exit  XPlayPACo("set",pacoRefNum,"posX", integer(value((item 1 of whereAt) + (the stageLeft))),"posY",integer(value((item 2 of whereAt) + (the stageTop))),├é"centering", 0, "loopCount", 1)    XPlayPACo("set",pacoRefNum,"clearscreen",0,"nudgeposition",0,"redrawscreen",1, "window",0)  if preload = 1 then     unload    XPlayPACo("allocate",pacoRefNum)    XPlayPACo("load",pacoRefNum)  end ifplaypacoClosePacoif preload=1 then    cursor -1 end ifmacro Startpaco2 fileName, whereAt, preload  global pacoRefNum,commandput char 1 of the pathname into driveif preload<>1 then put 0 into preloadput 1 into niput xwin(mnew) into winxput winx(mhwnd) into windowhandleput "playfile"&&drive&":\HCDEMO\DEMO\PACOS\"&chars(fileName,1,length(filename)-2)&"bk"&&"-ctr 0 -posx"&&integer(value((item 1 of whereAt) + (the stageLeft)))&&"-posy"&&integer(value((item 2 of whereAt) + (the stageTop)))&&"-ni "&ni&" -pfd"&&(abs(preload-1))&&"-acm 1 -window"&&windowhandle into commandpaco(mnew,command)put "playfile"&&drive&":\HCDEMO\DEMO\PACOS\"&(fileName)&&"-ctr 0 -posx"&&integer(value((item 1 of whereAt) + (the stageLeft)))&&"-posy"&&integer(value((item 2 of whereAt) + (the stageTop)))&&"-ni "&ni&" -pfd"&&(abs(preload-1))&&"-acm 1 -window"&&-1 into commandpaco(mnew,command)winx(mdispose)exitmacro PLayPACO     global pacoRefNum  if pacoRefNum contains "error" then exit  XPlayPACo("play",pacoRefNum)macro ClosePACO  global pacoRefNum  if pacoRefNum contains "error" then exit  XPlayPACo("set",pacoRefNum,"redrawScreen",0)  XPlayPACo("deallocate",pacoRefNum)  XPlayPACo("close",pacoRefNum)  put 0 into pacoRefNum  macro playaiff2 filenameput filename&".wav" into filenamesound playFile 1, string(GoUpALevel(the pathName))&"SFX:DemoSFX:"&string(filename)macro PlayAIFF fileNameglobal path,filenput the pathname into pathput word 1 of fileName&word 2 of fileName&word 3 of fileName&word 4 of fileName&word 5 of fileName into fileNameput (chars(filename,1,7)) into fileName sound playFile 1, string(GoUpALevel(path))&"SFX:DemoSFX:"&string(fileName)end playaiff
  14.  
  15. Script Channel Commands
  16. --------------------
  17. playAIFF "metropolis"unloadStartPaco("Raul paco MPC",locsprite(8))quitquitStartpaco("TSQ N Cab Exit",locSprite (2), 1)unload
  18.  
  19. vwci
  20. ----
  21. 1025: mm1
  22. 1026: Hell Cab Logo 
  23. 1027: Checker strip
  24. 1031: HC Flyer (back) Fx
  25. 1473: on mouseUp  end mouseUpmm1
  26. 1475:  engine loop
  27. 1479: on mouseUp  end mouseUpmm1
  28. 1480: on mouseUp  end mouseUpmm1
  29. 1481: on mouseUp  end mouseUpflagDown
  30. 1482: on mouseUp  showSoulOmeterend mouseUp
  31. smallmeter
  32. 1483: on mouseUp  end mouseUp
  33. 1485: on mouseUp  end mouseUpmm1
  34.  
  35. Fonts
  36. -----
  37. Geneva
  38. Times
  39.